package com.ruoyi.wxarea.controller;



import com.ruoyi.wxarea.service.IAddressInfoService;
import com.ruoyi.wxcommon.common.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 凡哥哥
 * @since 2024-05-10
 */
@RestController
@RequestMapping("/area/address-info")
public class AddressInfoController {
    @Autowired
    IAddressInfoService addressInfoService;
    @PostMapping("/get/detailAddress")
    public Result detailAddress(Integer pageIndex, Integer pageSize, Integer aId, Integer cateId){
        return addressInfoService.addressInfoDetailAddress(pageIndex, pageSize, cateId, aId);
    }
}

